From: Georges Basile Stavracas Neto Date: Tue, 1 Sep 2020 18:49:16 +0000 (-0300) Subject: appDisplay: Redisplay on layout changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~672^2^2~13 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f1bc87bf6d1fe5dae430ee6e492c269ebb580794;p=gnome-shell.git appDisplay: Redisplay on layout changes This was an overlook from e1ea1d29540c3fc8f2346fbc481f784c17fd0e56. We never connected to the 'layout-changed' signal, which means changing the GSettings externally wouldn't trigger a redisplay. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1428 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index daaf74693..d26c12fec 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -888,6 +888,7 @@ class AppDisplay extends BaseAppView { }); this._pageManager = new PageManager(); + this._pageManager.connect('layout-changed', () => this._redisplay()); this._scrollView.add_style_class_name('all-apps');